﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AE7 RID: 2791
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeLevelEndScRsp : IMessage<MatchThreeLevelEndScRsp>, IMessage, IEquatable<MatchThreeLevelEndScRsp>, IDeepCloneable<MatchThreeLevelEndScRsp>, IBufferMessage
	{
		// Token: 0x1700233B RID: 9019
		// (get) Token: 0x06007CE9 RID: 31977 RVA: 0x0014D761 File Offset: 0x0014B961
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeLevelEndScRsp> Parser
		{
			get
			{
				return MatchThreeLevelEndScRsp._parser;
			}
		}

		// Token: 0x1700233C RID: 9020
		// (get) Token: 0x06007CEA RID: 31978 RVA: 0x0014D768 File Offset: 0x0014B968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeLevelEndScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700233D RID: 9021
		// (get) Token: 0x06007CEB RID: 31979 RVA: 0x0014D77A File Offset: 0x0014B97A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeLevelEndScRsp.Descriptor;
			}
		}

		// Token: 0x06007CEC RID: 31980 RVA: 0x0014D781 File Offset: 0x0014B981
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndScRsp()
		{
		}

		// Token: 0x06007CED RID: 31981 RVA: 0x0014D789 File Offset: 0x0014B989
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndScRsp(MatchThreeLevelEndScRsp other) : this()
		{
			this.modeId_ = other.modeId_;
			this.retcode_ = other.retcode_;
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007CEE RID: 31982 RVA: 0x0014D7C6 File Offset: 0x0014B9C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeLevelEndScRsp Clone()
		{
			return new MatchThreeLevelEndScRsp(this);
		}

		// Token: 0x1700233E RID: 9022
		// (get) Token: 0x06007CEF RID: 31983 RVA: 0x0014D7CE File Offset: 0x0014B9CE
		// (set) Token: 0x06007CF0 RID: 31984 RVA: 0x0014D7D6 File Offset: 0x0014B9D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ModeId
		{
			get
			{
				return this.modeId_;
			}
			set
			{
				this.modeId_ = value;
			}
		}

		// Token: 0x1700233F RID: 9023
		// (get) Token: 0x06007CF1 RID: 31985 RVA: 0x0014D7DF File Offset: 0x0014B9DF
		// (set) Token: 0x06007CF2 RID: 31986 RVA: 0x0014D7E7 File Offset: 0x0014B9E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002340 RID: 9024
		// (get) Token: 0x06007CF3 RID: 31987 RVA: 0x0014D7F0 File Offset: 0x0014B9F0
		// (set) Token: 0x06007CF4 RID: 31988 RVA: 0x0014D7F8 File Offset: 0x0014B9F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x06007CF5 RID: 31989 RVA: 0x0014D801 File Offset: 0x0014BA01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeLevelEndScRsp);
		}

		// Token: 0x06007CF6 RID: 31990 RVA: 0x0014D810 File Offset: 0x0014BA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeLevelEndScRsp other)
		{
			return other != null && (other == this || (this.ModeId == other.ModeId && this.Retcode == other.Retcode && this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007CF7 RID: 31991 RVA: 0x0014D86C File Offset: 0x0014BA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ModeId != 0U)
			{
				num ^= this.ModeId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007CF8 RID: 31992 RVA: 0x0014D8DD File Offset: 0x0014BADD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007CF9 RID: 31993 RVA: 0x0014D8E5 File Offset: 0x0014BAE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007CFA RID: 31994 RVA: 0x0014D8F0 File Offset: 0x0014BAF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ModeId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ModeId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007CFB RID: 31995 RVA: 0x0014D964 File Offset: 0x0014BB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ModeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ModeId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007CFC RID: 31996 RVA: 0x0014D9D4 File Offset: 0x0014BBD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeLevelEndScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ModeId != 0U)
			{
				this.ModeId = other.ModeId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007CFD RID: 31997 RVA: 0x0014DA38 File Offset: 0x0014BC38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007CFE RID: 31998 RVA: 0x0014DA44 File Offset: 0x0014BC44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.LevelId = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ModeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002FBC RID: 12220
		private static readonly MessageParser<MatchThreeLevelEndScRsp> _parser = new MessageParser<MatchThreeLevelEndScRsp>(() => new MatchThreeLevelEndScRsp());

		// Token: 0x04002FBD RID: 12221
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FBE RID: 12222
		public const int ModeIdFieldNumber = 1;

		// Token: 0x04002FBF RID: 12223
		private uint modeId_;

		// Token: 0x04002FC0 RID: 12224
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04002FC1 RID: 12225
		private uint retcode_;

		// Token: 0x04002FC2 RID: 12226
		public const int LevelIdFieldNumber = 15;

		// Token: 0x04002FC3 RID: 12227
		private uint levelId_;
	}
}
